package com.polytech.model;

import java.util.Date;

public class Post {
	private int id;
	private String text;
	private Date publicationDate;
	private Membre poster;
	public Post() {
		
	}
	
	public Post(int id, String text, Date publicationDate) {
		super();
		this.id = id;
		this.text = text;
		this.publicationDate = publicationDate;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Date getPublicationDate() {
		return publicationDate;
	}

	public void setPublicationDate(Date publicationDate) {
		this.publicationDate = publicationDate;
	}

	public Membre getPoster() {
		return poster;
	}

	public void setPoster(Membre poster) {
		this.poster = poster;
	}

	public int getId() {
		return id;
	}
	
}
